Node-RED block in Snap4City Microservice library node-red-contrib-snap4city-user is "dashboard-geolocator">
With this node you can add a button to an existing dashboard or a new one created by the node. If this button is pressed
geolocation information retrieved by the browser is sent by the node.
Configuration
- dashboard
string
- Dashboard title to which the button will be added
- widget
string
- Title that will have the widget containing the button.
Outputs
- Complete message
- Returns a JSON containing all information about geolocation
- Latitude
- Returns the latitude
- Longitude
- Returns the longitude
- Accuracy
- Returns the accuracy of latitude and longitude
- Altitude
- Returns the altitude
- Altitude
- Returns the altitude accuracy
- Heading
- Returns the heading
- Speed
- Returns the speed